package net.joyphper.commons.exception;

public class MessageException  extends Exception {

	private static final long serialVersionUID = 1L;
	
	private String returnUrl;
	
	public MessageException(String message) {
		super(message);
	}
	
	public MessageException(String message,String returnUrl) {
		super(message);
		this.returnUrl=returnUrl;
	}

	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}
}
